import { Component, OnInit } from '@angular/core';

@Component({
    selector: 'app-nice-three',
    templateUrl: './nice-three.component.html',
    styleUrls: ['./nice-three.component.less']
})
export class NiceThreeComponent implements OnInit {
    // angular 项目中，没有使用TS语法的严格模式
    msg = "组件字符串";
    num:number = 12;
    data = {
        a:1,
        b:2,
    };
    arr = [1,2,3,4];
    imgObj = new Image();
    day = new Date();
    Math = Math;
    constructor() { }

    ngOnInit() {
    }

}
